- 
		Home
	
- 
WordPress.com Editing Toolkit
- 
4.3592
- 
Code
- 
Classes
-  Starter_Page_Templates 
		
			
				
					
													
								
																			
											| Total Complexity | 46 | 
																			
											| Dependencies | 3 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 389 | 
																			
											| Lines of code | 253 | 
																			
											| Logical lines of code | 107 | 
																	
							 
													
								
																			
											| Comment lines | 82 | 
																			
											| Methods | 14 | 
																			
											| Properties | 2 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| enqueue_assets() | A | 39 | 12 | 65 | 
					
				| get_page_templates() | A | 49 | 8 | 31 | 
					
				| get_registered_page_templates() | A | 48 | 7 | 34 | 
					
				| register_meta_field() | S | 45 | 3 | 44 | 
					
				| get_registered_categories() | S | 65 | 3 | 9 | 
					
				| get_templates_cache_key() | S | 62 | 2 | 13 | 
					
				| pass_error_to_frontend() | S | 60 | 1 | 17 | 
					
				| get_instance() | S | 71 | 2 | 6 | 
					
				| clear_sideloaded_image_cache() | S | 69 | 2 | 6 | 
					
				| get_verticals_locale() | S | 74 | 2 | 4 | 
					
				| __construct() | S | 66 | 1 | 8 | 
					
				| register_scripts() | S | 66 | 1 | 9 | 
					
				| register_rest_api() | S | 76 | 1 | 4 | 
					
				| clear_templates_cache() | S | 80 | 1 | 3 |